package services;

import java.util.List;

import javax.ejb.Local;

import entities.ItemCotizacion;
import entities.ListaPrecios;
import entities.PedidoVenta;
import entities.xml.ExchangeFormatEntity;

@Local
public interface XMLService{
	@SuppressWarnings("rawtypes")
	public Object fromXML(String xml, String alias, Class clase);
	public String toXML(Object obj);
	public Object toModelEntity(ExchangeFormatEntity xmlEntity);
	public Object fromModelEntity(Object obj, ExchangeFormatEntity xmlEntity);
	public PedidoVenta getPedidoVenta(String xml);
	public List<ItemCotizacion> getItemsCotizacionFromXML(String xml);
	public List<ListaPrecios> getListasDePrecios(String listasXML);
}
